﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HNCSolutions.Controllers
{
    public class PhanMemController : Controller
    {
        //
        // GET: /PhanMem/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ChiTiet(int Id)
        {
            HNCSolutions.Models.HNCSolutionsEntities entities = new Models.HNCSolutionsEntities();
            var sanPham = entities.PhanMems.Single(sp => sp.Id == Id);
            return View(sanPham);
        }


        public ActionResult PhanMemTheoYeuCau()
        {
            return View();
        }
    }
}
